<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/hdjs/hdjs.css"/>
    <script src="__STATIC__/js/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="__STATIC__/hdjs/hdjs.min.js" type="text/javascript" charset="utf-8"></script>
    <title>标签管理</title>
  
    <style type="text/css">
        /*修改按钮*/
       .table2 tr td{
            height: 35px;
        }
        input[type="text"]{
            background-color: #FFFFFF;
            border: 2px solid #DDDDDD;
            border-radius: 0;
            box-shadow: 2px 2px 2px #F0F0F0 inset !important;
            color: #555555;
            display: inline-block;
            font-size: 12px;
            line-height: 30px;
            margin: 0;
            padding: 0 6px;
            vertical-align: middle;
            height: 30px;
        }
        input[type="text"]:focus{
            background: none repeat scroll 0 0 #FFFBDE;
            border: 2px solid #51B4FF;
            box-shadow: none !important;
            outline: 1px solid #51B4FF;
        }
    </style>

  
</head>
<body>
<div class="wrap">
	<form action="" method="post">

    <table class="hd-table hd-table-list">
        <thead>
        <tr>
        	 <td width="60">
        			<a href="javascript:hd_select_all('.code')">全选</a>
        			<a href="javascript:hd_reverse_select('.code')">反选</a>
        		</td>
            <td width="30">id</td>
            <td>评论内容</td>
            <td>发布时间</td>
            <td width="200">操作</td>
        </tr>
        </thead>
        <tbody>
        	<foreach from="$data" key="$k" value="$v">
        		<tr>
        			<td>
        				<label for="" class="code">
        					<input type="checkbox" name="coid[]" id="" value="{$v.coid}"/>
        				</label>
        			</td>
	                <td width="30">{$v.coid}</td>
	                <td>{$v.comcon}</td>
	                <td>{$v.addtime|date:"Y-m-d",@@}</td>
	                <td width="200">
						<a href="{|U:'del',array('coid'=>$v['coid'])}" class="hd-btn hd-btn-danger hd-btn-sm">删除</a>
              		 </td>
           		</tr>
        	</foreach>
        		<tr>
        			<td colspan="20">
        				<input type="submit" value="删除" class="hd-btn hd-btn-danger hd-btn-xm"/>
        			</td>
        		</tr>
        </tbody>
    </table>
    </form>
    <style type="text/css">
    		.page_hdcms{
    			margin-top: 20px;
    			text-align: center;
    		}
    		.page_hdcms a{
    			padding: 3px 5px;
    			margin-left: 3px;
    			border: 1px solid #CCCCCC;
    			
    		}
    		.page_hdcms strong{
    			padding: 3px 5px;
    			margin-left: 3px;
    			background: #CBCBCD;
    			color: white;
    		}
    </style>
    <div class="page_hdcms">
    	<!--显示分页-->
        {$page}
    </div>
</div>

</body>
</html>


